function save() {

    let data = new FormData();
    // data.append("productName", $("#productName").val());
    // data.append("weight", $("#weight").val());
    data.append("pic", $("#pic")[0].files[0]);
    let result = myFileAjax("/backimg/product/pic", data, "post");
    let aa = {
        "productName": $("#productName").val(),
        "weight": $("#weight").val(),
        url: result.result
    }
    let bb=myAjax("/backimg/product/add",aa,"post");
}